package com.rentong.wx.sys.service.impl;

import com.rentong.wx.sys.dao.SysConfPicDao;
import com.rentong.wx.sys.domain.SysConfPicEntity;
import com.rentong.wx.sys.service.SysConfPicService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysConfPicServiceImpl implements SysConfPicService {

    @Resource
    private SysConfPicDao sysConfPicDao;


    @Transactional(rollbackFor = Exception.class)
    @Override
    public List<SysConfPicEntity> getConfPicMain(){
        return sysConfPicDao.getConfPicMain();
    }


    @Transactional(rollbackFor = Exception.class)
    @Override
    public List<SysConfPicEntity> getConfPicByConfPicType(SysConfPicEntity sysConfPicEntity){
        return sysConfPicDao.getConfPicByConfPicType(sysConfPicEntity);
    }




}
